package com.lln.cjcx.pojo;

/**
 * @author LiLinnan
 * @version 1.0
 * @date 2020/1/22 20:59
 */

public final class Message extends yfdc.JavaBean implements java.io.Serializable {
	public int status;
	public Object data;
	public Message(){
		super();
		this.status = 0;
		this.data = "";
	}
	public Message(final int status,final  Object data) {
		super();
		this.status = status;
		this.data = data;
	}
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	@Override
	public String toString() {
		try {
			return yfdc.JavaBean.toString(this);
		} catch (Throwable ex) {
			ex.printStackTrace(System.out);
			return "Message{" +
					"status=" + status +
					", data=" + data +
					'}';
		}
	}
}
